#pragma once

#include <Windows.h>

class Timer
{
public:
	Timer(void);
	~Timer(void);

	float GetGameTime();
	float GetDeltaTime();

	void Reset();
	void Start();
	void Stop();
	void Tick();

private:
	double secondsPerCount;
	double deltaTime;

	__int64 baseTime;
	__int64 pausedTime;
	__int64 stopTime;
	__int64 prevTime;
	__int64 currTime;

	bool stopped;
};

